package service.impl;

import dao.OyxUser_level_infDao;
import dao.impl.OyxUser_level_infDaoImpl;
import entity.User_level_inf;
import service.OyxUser_levelMessageService;

public class OyxUser_levelMessageServiceImpl implements OyxUser_levelMessageService {
     
	OyxUser_level_infDao ulid = new  OyxUser_level_infDaoImpl();
	
	//通过User_Inf表 用户user_level查询User_level_inf表里的积分等级对应信息 返回当前信息对象
	@Override
	public User_level_inf getUser_levelMessage(Integer user_level) {
		User_level_inf user_levelMessage = ulid.getUser_levelMessage(user_level);
		return user_levelMessage;
	}
	//查询会员等级人数总个数
	@Override
	public Integer getRows(Integer lever) {
		Integer rows = ulid.getRows(lever);
		return rows;
	}

}
